<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
		
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
	</head>

	<body>
		<script type="text/javascript">
				/* $.post("http://localhost:89/tests/test-edit",function(data){
					console.log(data);
				}); */
				$.ajax({url:"http://localhost:89/tests/test-edit",
					success:function(result){
						console.log(result);
			    },
			    error:function (result){
			    	console.log(result.responseJSON);
			    }
				});
			/**	axios({
					method: 'get',
					url: 'http://localhost:89/tests/test-edit',
					data: ""
				})
				.then(function(response) {
					console.log(response);
				})
				.catch(function(error) {
					console.log(error);
				});**/
		</script>
	</body>

</html>